""" 
CSDN : heart_6662
PYTHON amateur   
"""
x2 = 1
for day in range(4,0,-1):
    x1 = (x2+1)*2
    x2 = x1
print(x1)